//
//  UserModel.h
//  business
//
//  Created by Mostar Chow on 15-3-12.
//  Copyright (c) 2015年 Mostar. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MJExtension.h"

@interface UserModel : NSObject

@property (nonatomic, strong) NSNumber *Id;/**< 用户编码*/
@property (nonatomic, copy  ) NSString  *UserName;/**< 账号*/
@property (nonatomic, copy  ) NSString  *Mobile;/**< 用机号*/
@property (nonatomic, copy  ) NSString  *NickName;/**< 昵称*/
@property (nonatomic, copy) NSString *RealName;

@property (nonatomic, strong) NSNumber *IsHavePayPwd;
//环信
@property (nonatomic, copy  ) NSString  *HXUserName;/**< 环信账号*/
@property (nonatomic, copy  ) NSString  *HXPassword;/**< 环信密码*/
@property (nonatomic, copy  ) NSString  *HXNickName;/**< 环信昵称*/

@property (nonatomic, strong) NSNumber  *CityId;/**< 城市ID*/
@property (nonatomic, copy  ) NSString  *CityName;/**< 城市名称*/

@property (nonatomic, copy  ) NSString  *AvatarUrl;/**< 头像*/
@property (nonatomic, strong) NSNumber  *Role;/**< 角色 1：组长  2：员工*/
@property (nonatomic, strong) NSNumber  *IsNeedValidate;/**< 被加好友时，是否要验证 0：否  1：是*/
@property (nonatomic, strong) NSNumber *ShopId;

@property (nonatomic, copy) NSString *GroupId;
@property (nonatomic, copy) NSString *GroupName;
@property (nonatomic, copy) NSString *GroupUrl;
@property (nonatomic, assign) BOOL CanViewHistory;
@property (nonatomic, assign) BOOL CanSpeak;

//**—————————————— 兼容卖场网账号 ——————————————————————*//
@property (copy,nonatomic) NSString *Name;/**< 卖场网账号 */
@property (copy,nonatomic) NSString *AvatorUrl;/**< 卖场网用户头像url */

@end
